package com.chinackts.customsdeclarations.query;

import com.chinackts.common.validation.DateFormat;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @author Lianhong
 * @since 2021/11/18
 */
public class CustomsDeclarationsDetailsQuery {

    @ApiModelProperty("报关单类型")
    @NotBlank(message = "报关单类型不能为空")
    private String decType;

    @ApiModelProperty("报关单列表加密字符串")
    private String encryptStr;

    @ApiModelProperty("加签字符串")
    private String sign;

    @ApiModelProperty
    private String flagDec;

    @ApiModelProperty
    private String opMode;

    @ApiModelProperty
    @DateFormat(format = "yyyyMMdd", message = "出口开始日期格式错误，正确格式为yyyyMMdd")
    private String iEDate;

    @ApiModelProperty("是否重新采集")
    private boolean regather;


    public String getDecType() {
        return decType;
    }

    public void setDecType(String decType) {
        this.decType = decType;
    }

    public String getEncryptStr() {
        return encryptStr;
    }

    public void setEncryptStr(String encryptStr) {
        this.encryptStr = encryptStr;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getFlagDec() {
        return flagDec;
    }

    public void setFlagDec(String flagDec) {
        this.flagDec = flagDec;
    }

    public String getOpMode() {
        return opMode;
    }

    public void setOpMode(String opMode) {
        this.opMode = opMode;
    }

    public String getiEDate() {
        return iEDate;
    }

    public void setiEDate(String iEDate) {
        this.iEDate = iEDate;
    }

    public boolean isRegather() {
        return regather;
    }

    public void setRegather(boolean regather) {
        this.regather = regather;
    }
}
